package com.shan.design.combination.safe;
/**
 *
 * @author shanzheng
 * @create 2018-12-02 17:37
 **/
public class ImageFileSafe extends AbstractFileSafe{
    private String name;

    public ImageFileSafe(String name) {
        this.name = name;
    }

    @Override
    void killVirus() {
        //模拟杀毒
        System.out.println("----对图像文件'" + name + "'进行杀毒");
    }
}
